<template>
  <div class="my-example">
    <h1>{{ msg }}</h1>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue, toNative } from 'vue-facing-decorator'
@Component({})
class MyExample extends Vue {
  @Prop({ default: 'default msg' })
  msg!: string

  aMethod(): void {
    console.log('foo')
  }
}

export default toNative(MyExample)
export { MyExample }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.my-example {
  h3 {
    margin: 40px 0 0;
  }
  ul {
    list-style-type: none;
    padding: 0;
  }
  li {
    display: inline-block;
    margin: 0 10px;
  }
  a {
    color: #42b983;
  }
}
</style>
